<header class="profile__heading">
        <div class="container">
            <div class="row">
                <div class="col-md-2">
                    <a class="text-left" href="{:U('index/settings/face')}">
                        <img class="avatar-128 profile__heading--avatar" src="__ROOT__<?php echo $_SESSION['face'] ?>"
                        alt="Feedmo">
                    </a>
                </div>
                <div class="col-md-7">
                    <h2 class="profile__heading--name">
                        <?php echo $_SESSION['username'] ?>
                    </h2>
                    <div class="profile__heading--desc js-show">

                    <?php foreach ($res as $key => $value) { ?>
                        <p >
                            <?php echo $value['introduce'] ?>
                        </p>
                       
                    <?php } ?>
                        
                    </div>
                    <div class="profile__heading--social">
                        <ul class="sn-inline profile__heading--social-item">
                            <li>
                                <a href="http://www.douban.com/people/119018228/" class="icon-sn-douban"
                                target="_blank">
                                </a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="mt10">
                    <?php if ($_SESSION['id']==$_GET['id']) { ?>
                        <a class="btn mr10 btn-warning" href="/user/settings" data-id="1030000005823770">
                            编辑资料
                        </a>
                        <a href="/u/yangyangyang_577281f639866/profile" class="btn btn-default">
                            <i class="fa fa-user">
                            </i>
                            创建档案
                        </a>
                    <?php }else{ ?>
                        <a class="btn mr10 btn-success userfollow" data-id="1030000002765883">
                            加关注
                        </a>
                        <a class="btn btn-default mr10" href="javascript:void(0);" id="courier"
                        data-username="Feedmo" data-userid="1030000002765883">
                            <i class="fa fa-commenting-o">
                            </i>
                        </a>
                    <?php } ?>                        
                    </div>
                    <div class="profile__heading-info row">
                        <div class="col-md-4 col-xs-4">
                            <a href="/u/feedmo/rank">
                                <span class="h3">
                                    174
                                </span>
                                <span>
                                    声望值
                                </span>
                            </a>
                        </div>
                        <div class="col-xs-4">
                            <span class="h3">
                                0
                            </span>
                            <span>
                                被赞数
                            </span>
                        </div>
                        <div class="col-xs-4">
                            <a href="/u/feedmo/users/followed">
                                <span class="h3">
                                    1
                                </span>
                                <span>
                                    个粉丝
                                </span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </header>